package com.cute.leetcode.editor.cn.my;


/**
 * 快速排序
 */
public class QuickSort {

    public static void main(String[] args) {

    }

    public static void sort(int[] array, int from, int to, int middle) {


    }

    public static void swap(int[] array, int i, int j) {
        int temp = array[i];
        array[i] = array[j];
        array[j] = temp;
    }

    public static void print(int[] array) {
        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i] + " ");
        }
    }
}
